package com.anxin.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

@Data
@ContentRowHeight(20)
@HeadRowHeight(25)
public class MedicalRecordExcel {
    
    @ExcelProperty(value = "病历ID", index = 0)
    @ColumnWidth(36)
    private String id;
    
    @ExcelProperty(value = "患者ID", index = 1)
    @ColumnWidth(36)
    private String patientId;
    
    @ExcelProperty(value = "医生ID", index = 2)
    @ColumnWidth(36)
    private String doctorId;
    
    @ExcelProperty(value = "科室ID", index = 3)
    @ColumnWidth(36)
    private String departmentId;
    
    @ExcelProperty(value = "预约ID", index = 4)
    @ColumnWidth(36)
    private String appointmentId;
    
    @ExcelProperty(value = "就诊日期", index = 5)
    @ColumnWidth(15)
    @DateTimeFormat("yyyy-MM-dd")
    private Date visitDate;
    
    @ExcelProperty(value = "主诉", index = 6)
    @ColumnWidth(50)
    private String chiefComplaint;
    
    @ExcelProperty(value = "现病史", index = 7)
    @ColumnWidth(50)
    private String presentIllness;
    
    @ExcelProperty(value = "既往史", index = 8)
    @ColumnWidth(50)
    private String pastHistory;
    
    @ExcelProperty(value = "体格检查", index = 9)
    @ColumnWidth(50)
    private String physicalExamination;
    
    @ExcelProperty(value = "辅助检查", index = 10)
    @ColumnWidth(50)
    private String auxiliaryExamination;
    
    @ExcelProperty(value = "诊断", index = 11)
    @ColumnWidth(50)
    private String diagnosis;
    
    @ExcelProperty(value = "治疗方案", index = 12)
    @ColumnWidth(50)
    private String treatmentPlan;
    
    @ExcelProperty(value = "随访计划", index = 13)
    @ColumnWidth(50)
    private String followUpPlan;
    
    @ExcelProperty(value = "创建时间", index = 14)
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
    @ExcelProperty(value = "更新时间", index = 15)
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
} 